define(()=>{
    return function(){
        const ipt = $(".indexRight").children("ul").children("li").eq(3)
        var t = null;
        ipt.on("click",function(){

            if (t === null) {
                t = setInterval(function () {
                    window.scrollBy(0, -1000);
                    if (document.documentElement.scrollTop == 0) {
                        clearInterval(t);
                        t = null;
                    }
    
                }, 30)
    
            }
        })

    }
});